package com.lagou.service;

import com.lagou.pojo.Token;
import org.springframework.data.domain.Example;

import java.util.Optional;

public interface TokenService {

    public void save(Token token);

    public Token findOneByEmail(String email);

    public Optional findOneByExample(Example<?> example);

}
